package com.njtoyo.taxi.admin.rest.presenter.platfrom.sensitive;

import com.njtoyo.taxi.admin.mapper.secondary.enums.SystemSensitiveOperationObjectType;
import com.njtoyo.taxi.admin.mapper.secondary.enums.SystemSensitiveOperationVerifyMethod;
import com.njtoyo.taxi.admin.mapper.secondary.enums.SystemSensitiveOperationVerifyMode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "敏感操作列表", description = "敏感操作列表")
public class SensitiveOperationPresenter {
    @ApiModelProperty(value = "操作id")
    private Long id;

    @ApiModelProperty(value = "操作标识")
    private String operationName;

    @ApiModelProperty(value = "操作名称")
    private String operationDesc;

    @ApiModelProperty(value = "路径")
    private String routeAction;

    @ApiModelProperty(value = "是否验证开启")
    private Boolean isVerifyOpen;

    @ApiModelProperty(value = "验证对象")
    private SystemSensitiveOperationObjectType verifyObjectType;

    @ApiModelProperty(value = "验证对象id")
    private Integer userId;

    @ApiModelProperty(value = "验证对象姓名")
    private String name;

    @ApiModelProperty(value = "验证对象手机号")
    private String mobileNumber;

    @ApiModelProperty(value = "验证对象邮箱")
    private String email;

    @ApiModelProperty(value = "验证模式")
    private SystemSensitiveOperationVerifyMode verifyMode;

    @ApiModelProperty(value = "验证方法。")
    private SystemSensitiveOperationVerifyMethod verifyMethod;


    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;

    @ApiModelProperty(value = "无需验证的管理员，格式：[1,2]")
    private String ignoreAdmin;


}
